emellor@ewan [Wed, 28 Sep 2005 14:02:09 +0000 (15:02 +0100)]
Merged.
emellor@ewan [Wed, 28 Sep 2005 14:01:09 +0000 (15:01 +0100)]
Merge.
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 14:00:48 +0000 (15:00 +0100)]
Fix preemptible uses of smp_processor_id() in page fault
handler.
Signed-off-by: Keir Fraser <keir@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 14:00:11 +0000 (15:00 +0100)]
Fix returning of results broken by last change.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
jrb44@plym.cl.cam.ac.uk [Wed, 28 Sep 2005 13:29:35 +0000 (14:29 +0100)]
Changed -xen x86-32 defconfig CONFIG_EXT2_FS=y
Was previously a module, caused LTP test sysfs01 to fail. Compiling in to
the kernel brings this in to line with our own -xen x86-64 kernel and
vendor kernels.
Signed-off-by: James Bulpin <james@xensource.com>
jrb44@plym.cl.cam.ac.uk [Wed, 28 Sep 2005 13:21:29 +0000 (14:21 +0100)]
Changed -xen x86-32 defconfig CONFIG_SECURITY_CAPABILITIES=y
Was previously a module, which wasn't getting loaded and causing the
LTP capset01 test to fail. Compiling in to the kernel brings this in to
line with our own -xen x86-64 kernel and vendor kernels.
Signed-off-by: James Bulpin <james@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 13:08:52 +0000 (14:08 +0100)]
merge?
yjiang5@vtsmp-build.sh.intel.com [Wed, 28 Sep 2005 13:07:57 +0000 (14:07 +0100)]
Initialize pointer array for set mapping.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 13:07:25 +0000 (14:07 +0100)]
imported patch ../tmp/fix_free_monitor_pagetable.patch
yjiang5@vtsmp-build32.sh.intel.com [Wed, 28 Sep 2005 13:06:41 +0000 (14:06 +0100)]
Save immediate operand into mcip structure.
Some opcode like and/or need the immediate info when return from DM, we should save it before sending io request.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 13:05:58 +0000 (14:05 +0100)]
With this patch, we can enable VMXAssist to bring up APs of SMP VMX
guest. On entry to VMXAssist:
1) %edx is the processor number, i.e. vcpu id, and for BSP it's 0.
2) %ebx is the vector number from SIPI.
Also removed some ugly tailing space.
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
emellor@ewan [Wed, 28 Sep 2005 13:03:06 +0000 (14:03 +0100)]
Added logging of exceptions coming through callInfo, for better debugging.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 13:02:38 +0000 (14:02 +0100)]
Minor tidy.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Sep 2005 12:49:33 +0000 (13:49 +0100)]
Currently the mmio_operands assumes writing to memory when operand 0 is
register or immediate, this is false for cmp/test opcode.
This patch resolve this problem, please review.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
emellor@ewan [Wed, 28 Sep 2005 12:44:15 +0000 (13:44 +0100)]
Improve HTML output.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 12:43:33 +0000 (13:43 +0100)]
Added missing quote to HTML output.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 12:43:07 +0000 (13:43 +0100)]
Added behaviour to read() to read directly from the transaction's path if no
arguments are specified.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 28 Sep 2005 12:41:44 +0000 (13:41 +0100)]
Handle exceptions caused during processing of requests, to improve error
reporting.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 21:09:46 +0000 (22:09 +0100)]
Remove unused import, mark unused variables.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 21:09:12 +0000 (22:09 +0100)]
Remove unused imports, variables.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 21:08:07 +0000 (22:08 +0100)]
Fix final misuse of prettyprint parameters.
emellor@ewan [Tue, 27 Sep 2005 21:06:15 +0000 (22:06 +0100)]
Remove unused imports, and unused progress parameters from domain_save, domain_restore. Rename one instance of id to domid.
emellor@ewan [Tue, 27 Sep 2005 21:05:03 +0000 (22:05 +0100)]
Added getDeviceSxprs, to support xm block-list.
emellor@ewan [Tue, 27 Sep 2005 21:03:55 +0000 (22:03 +0100)]
Added sxprs, for xm block-list.
emellor@ewan [Tue, 27 Sep 2005 21:02:57 +0000 (22:02 +0100)]
Added behaviour to list() to list the transaction's path if no arguments are
given. Added list_recursive().
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 27 Sep 2005 14:11:59 +0000 (15:11 +0100)]
merge?
kaf24@firebug.cl.cam.ac.uk [Tue, 27 Sep 2005 14:11:07 +0000 (15:11 +0100)]
This patch adds "wbinvd" instruction emulation for vm86 mode.
This is needed when we bring up AP of SMP VMX guest.
Signed-off-by: Xin Li <xin.b.li@intel.com>
emellor@ewan [Tue, 27 Sep 2005 14:10:38 +0000 (15:10 +0100)]
This patch adds a quick check to 'xm restore' that checks the
existence and readability of the file given.
This fixes the issue detected in xm-tests 03_restore_badparm_neg and
04_restore_badfilename_neg.
Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 14:06:40 +0000 (15:06 +0100)]
This patch adds a quick check in "xm save" to make sure the path given
exists, and is writable.
This will fix the issue detected by xm-test 03_save_bogusfile_neg.
Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 14:03:00 +0000 (15:03 +0100)]
This patch cleans up some of the argument usage in PrettyPrint.py to
avoid a stack trace when doing an 'xm list -l'. Most of the
prettyprint() methods were called with 1 argument, but the functions
required 2 (one of which was unused).
Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 13:49:31 +0000 (14:49 +0100)]
Remove DBMap etc from XendDomainInfo, moving the handling of the domain root
and VM root totally into XendDomainInfo. The DBMap stuff was all cruft,
following the move to xstransact. Removing it may also help those suffering
from poor start-up times caused by a large store.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 13:36:58 +0000 (14:36 +0100)]
Remove the domain and VM paths from the store when destroying a domain. This
goes a long way towards fixing the problem of stale entries in the store.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 12:54:02 +0000 (13:54 +0100)]
Merge.
emellor@ewan [Tue, 27 Sep 2005 12:53:06 +0000 (13:53 +0100)]
Detangle the restart/reboot/halt/save/restore code. There is now one point
for management of shutdown state, XendDomainInfo.refreshShutdown, which is
able to cope whatever the current state of the domain. This fixes bug #124:
running reboot within a domU doesn't bring the domain back up after shutdown,
and bug #256: "xm reboot" could not make domU reboot.
Fix the refreshing inside XendDomain to ensure that the values returned by xm
list reflect reality correctly. We were removing XendDomainInfo instances,
but not creating them on start-up, so if xend were restarted, domain
information was being lost.
Merge XendDomain.dom0_unknown and initial_refresh into
XendDomainInfo.recreate.
Catch exceptions inside callInfo, and reraise them as XendErrors.
Remove unused XendDomain.close.
Further improvements are needed to XendDomainInfo to ensure that it avoids all
race conditions on shutdown, and can cope correctly with xend restarting
during a shutdown.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 11:30:13 +0000 (12:30 +0100)]
Use constant in XendDomainInfo rather than embedding a string literal.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Tue, 27 Sep 2005 11:29:36 +0000 (12:29 +0100)]
Added missing import socket statement.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 26 Sep 2005 18:13:57 +0000 (19:13 +0100)]
Move non-transactional and non-idempotent code out of
xenstore transaction retry loops in our device drivers.
Otherwise things get very smelly if a transaction fails and
is retried.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 26 Sep 2005 17:49:21 +0000 (18:49 +0100)]
xenstore fires @releaseDomain both when a domain shuts
down and when it eventually dies. xenconsoled now only
relinquishes its handle on a domain when it dies. This
allows us to 'xm console' connect to a crashed domain,
which is very useful!
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 26 Sep 2005 15:31:33 +0000 (16:31 +0100)]
xenbus_transaction_end() returns negative error code.
Therefore need to test for -EAGAIN (not EAGAIN).
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 25 Sep 2005 10:47:22 +0000 (11:47 +0100)]
Fix so that 'make uninstall' won't fail if /etc/xen
doesn't exist.
emellor@ewan [Sat, 24 Sep 2005 22:10:31 +0000 (23:10 +0100)]
Add helper method XendDomain.callInfo that stubs through into XendDomainInfo.
This is used to remove much of the code duplication in the public methods there.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Sat, 24 Sep 2005 21:57:26 +0000 (22:57 +0100)]
Nothing.
emellor@ewan [Sat, 24 Sep 2005 21:57:04 +0000 (22:57 +0100)]
Merge.
emellor@ewan [Sat, 24 Sep 2005 19:41:48 +0000 (20:41 +0100)]
Added default value for ssidref -- 0.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Sat, 24 Sep 2005 19:36:15 +0000 (20:36 +0100)]
Move ImageHandler registration into image.py from XendDomainInfo.py. Move
ImageHandler.create and findImageHandlerClass to the module level, and inline
addImageHandlerClass. Move ImageHandler.kernel, ramdisk, cmdline, and flags,
which seem inadvertently to have been declared as class variables, and make
them instance variables instead.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 24 Sep 2005 14:35:47 +0000 (15:35 +0100)]
Fix build for pedantic compilers.
kaf24@firebug.cl.cam.ac.uk [Sat, 24 Sep 2005 07:58:41 +0000 (08:58 +0100)]
Fix tpm split driver to follow changes in the xenbus API.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 23 Sep 2005 19:10:32 +0000 (20:10 +0100)]
Update User's Guide installation section to mention hotplug.
Now that hotplug seems to be necessary to boot new domains (at least, to
get disk access in those domains), add a note to the installation guide
mentioning this dependency.
Signed-off-by: Michael Vrable <mvrable@cs.ucsd.edu>
kaf24@firebug.cl.cam.ac.uk [Fri, 23 Sep 2005 19:09:59 +0000 (20:09 +0100)]
Add an install-time check for hotplug.
The hotplug subsystem is currently needed for block devices to work, as
of changeset 6742:
e9d01c5dc7b4d6b7cda9ade0d137ddb89bb204cc. Add a
script to check for the presence of hotplug and warn if it isn't found.
Signed-off-by: Michael Vrable <mvrable@cs.ucsd.edu>
kaf24@firebug.cl.cam.ac.uk [Fri, 23 Sep 2005 16:47:48 +0000 (17:47 +0100)]
Fix debug build of Xen.
emellor@ewan [Fri, 23 Sep 2005 16:17:22 +0000 (17:17 +0100)]
Removed unused Blkctl.py. The functionality here has been taken over by the
new hotplug system.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Fri, 23 Sep 2005 15:57:13 +0000 (16:57 +0100)]
Merged.
emellor@ewan [Fri, 23 Sep 2005 15:56:46 +0000 (16:56 +0100)]
Merge the duplicated code for create, destroy, migrate, sysrq, and shutdown
into one handler that dynamically imports the correct subcommand handler.
Remove the fullhelp cruft, which was referencing something not actually present,
and was unused. Remove xm_network_attach and xm_network_detach, which were
providing code for unadvertised and unsupported functionality.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Fri, 23 Sep 2005 15:53:57 +0000 (16:53 +0100)]
Neaten the configuration parsing code. Add a self parameter to
configureBootloading.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Fri, 23 Sep 2005 15:50:02 +0000 (16:50 +0100)]
Move ImageHandler.create call to initDomain, after the call to xc.domain_create.
This ensures that ImageHandler has the correct domain ID available to it, which
seems sensible in general, and is necessary for the VMX VNC support in
particular.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 23 Sep 2005 15:28:17 +0000 (16:28 +0100)]
Restructure GNTTABOP_map_grant_ref.
Signed-off-by: Keir Fraser <keir@xensource.com>
emellor@ewan [Fri, 23 Sep 2005 15:05:37 +0000 (16:05 +0100)]
Remove unused XendDB.py.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Fri, 23 Sep 2005 15:04:43 +0000 (16:04 +0100)]
Remove unused tempfile.py. Even if anyone were using it, they shouldn't be --
there's tempfile functionality in the Python standard library.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Fri, 23 Sep 2005 14:53:36 +0000 (15:53 +0100)]
Fix call with missing parameters.
kaf24@firebug.cl.cam.ac.uk [Fri, 23 Sep 2005 13:43:52 +0000 (14:43 +0100)]
Make PAE defs in xg_private.h usable in both 32- and
64-bit builds.
Signed-off-by: Keir Fraser <keir@xensource.com>
emellor@ewan [Fri, 23 Sep 2005 13:28:16 +0000 (14:28 +0100)]
Add check for speed (takes 33 minutes on my laptop, OUCH!)
Make xenstored use tdb, transactions can soft-fail (EAGAIN)
Transactions no longer take root dir, no longer lock & block: commit can fail spuriously with EAGAIN, not ETIMEDOUT.
Speeds up transactions by over 1000 times, should be NFS safe.
New program: xs_tdb_dump to dump raw TDB contents.
Don't do failure testing: we are no longer robust against all ENOMEM 8(
Introduce "struct node" which contains perms, children and data.
Make struct xs_permissions unpadded, so we can write to tdb w/o valgrind complaints.
Gently modify TDB to use talloc, not do alloc on tdb_delete.
Fix up transaction users for new semantics.
Don't need a transaction around a single read in xen/i386/kernel/smpboot.c.
Python: transaction_start() returns True/False rather than raising exception on EAGAIN.
Fix usage comment on xs_transaction_end().
Include stdarg to xs_tdb_dump so it compiles.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell [Fri, 23 Sep 2005 13:25:01 +0000 (14:25 +0100)]
Make xenstored use tdb, transactions can soft-fail (EAGAIN)
Transactions no longer take root dir, no longer lock & block: commit can fail spuriously with EAGAIN, not ETIMEDOUT.
Speeds up transactions by over 1000 times, should be NFS safe.
New program: xs_tdb_dump to dump raw TDB contents.
Don't do failure testing: we are no longer robust against all ENOMEM 8(
Introduce "struct node" which contains perms, children and data.
Make struct xs_permissions unpadded, so we can write to tdb w/o valgrind complaints.
Gently modify TDB to use talloc, not do alloc on tdb_delete.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell [Fri, 23 Sep 2005 13:24:58 +0000 (14:24 +0100)]
Add check for speed (takes 33 minutes on my laptop, OUCH!)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kaf24@firebug.cl.cam.ac.uk [Fri, 23 Sep 2005 12:30:54 +0000 (13:30 +0100)]
Add VGA acceleration support for cirrus logic device model
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 23 Sep 2005 11:52:43 +0000 (12:52 +0100)]
Clean up xc_vmx_build():
1. Remove linux parameters.
2. Remove init ramdisk.
3. Remove e820 memmap config file parse.
4. Removed provisional GDT.
5. Removed some ugly tailing space.
Signed-off-by: Xin B Li <xin.b.li@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 22 Sep 2005 19:59:31 +0000 (20:59 +0100)]
Remove file from sparse tree.
djm@kirby.fc.hp.com [Thu, 22 Sep 2005 18:06:33 +0000 (12:06 -0600)]
Minor drivers/xen changes and includes to support xenlinux/ia64
djm@kirby.fc.hp.com [Thu, 22 Sep 2005 17:42:01 +0000 (11:42 -0600)]
Merge latest xen-unstable into xen-ia64-unstable
djm@kirby.fc.hp.com [Thu, 22 Sep 2005 17:34:14 +0000 (11:34 -0600)]
Patches and recipe to build an elilo.efi that will boot domain0 with initrd
and pre-built "xlilo.efi". Courtesy of Anthony Xu and Fred Yang.
emellor@ewan [Thu, 22 Sep 2005 17:03:16 +0000 (18:03 +0100)]
Move variable initialisation out of import section. Remove obsolete save
parameter from XendDominInfo.exportToDB.
emellor@ewan [Thu, 22 Sep 2005 16:58:43 +0000 (17:58 +0100)]
Rename XendDomainInfo and DevController.getDomain to getDomid.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Thu, 22 Sep 2005 16:52:07 +0000 (17:52 +0100)]
Move initDomain out of image.py and into XendDomainInfo. The only thing that
needed any of the state of image.py was the bootloader code, which says there,
but all the rest was doing something that belonged more properly in
XendDomainInfo, with all the other generic domain initialisation code.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Thu, 22 Sep 2005 16:50:29 +0000 (17:50 +0100)]
Added diagnostic message when RuntimeError is raised inside XenStore.exists.
This is one of the first things to be used when xenstored starts up, so a
corrupted filesystem may manifest itself here.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Thu, 22 Sep 2005 15:12:14 +0000 (16:12 +0100)]
Merged.
emellor@ewan [Thu, 22 Sep 2005 15:05:44 +0000 (16:05 +0100)]
A number of changes to get save-restore working again:
Fix the use of configuration inside domain_configure. The config written by
XendDomainInfo.sxpr has moved, and this function needs to change to match.
Re-add a call to _add_domain inside domain_restore.
Inside XendDomainInfo.restore, perform the appropriate configuration to restore
the domain.
Validate maxmem_KiB, and cap it at memory_KiB if over that value. Save
requires that value to be correct, as the logic for saving only the pages
in use is not in place inside Xen.
Output the device configuration in sxpr(), as required for save-restore.
Check for image being null when trying to call createDeviceModel -- configure
is called on restore as well as create, and the ImageHandler instance is not
present in the former.
Remove dead code create_blkif.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 22 Sep 2005 14:19:30 +0000 (15:19 +0100)]
Fixes a vtpm timeout problem for slow machines.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 22 Sep 2005 13:36:20 +0000 (14:36 +0100)]
Netfront/back always use grant tables now. This cleans up a
whole bunch of code.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 22 Sep 2005 13:05:36 +0000 (14:05 +0100)]
Remove defunct usb split driver code. It will get replaced with
a new working driver at some point.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 22 Sep 2005 13:04:14 +0000 (14:04 +0100)]
Indentation cleanups in linux driver code.
Signed-off-by: Keir Fraser <keir@xensource.com>
emellor@ewan [Thu, 22 Sep 2005 13:01:01 +0000 (14:01 +0100)]
Merged?
djm@kirby.fc.hp.com [Thu, 22 Sep 2005 12:59:57 +0000 (06:59 -0600)]
Remove all CONFIG_VTI, VTI now works dynamically
1.remove vcpu_set_regs and element regs,which are never used
2.remove ia64_prepare_handle_privop,ia64_prepare_handle_break, ia64_prepare_handle_reflection, which are never used.
3.modify related macros for adapting to three level physical to machine table
4.remove all CONFIG_VIT
5.merge ia64_switch_to
Signed-off-by Anthony Xu <Anthony.xu@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 22 Sep 2005 11:46:17 +0000 (12:46 +0100)]
A more comprehensive fix for mapping shared-ring grant
references in back-end drivers.
Signed-off-by: Keir Fraser <keir@xensource.com>
emellor@ewan [Thu, 22 Sep 2005 10:35:35 +0000 (11:35 +0100)]
This patch adds a check in xend that prevents a user from trying to
destroy Dom0. Currently, xm does not return an error for this case.
Xend tries to destroy dom0 and leaves the system in an unstable
state. Subsequent attempts to create a domain result in the following
error message:
Error: Error creating domain: (106, 'Transport endpoint is already \
connected')
This will fix bugzilla bug #243
Signed-off-by: Dan Smith <danms@us.ibm.com>
emellor@ewan [Thu, 22 Sep 2005 10:21:37 +0000 (11:21 +0100)]
VMX guest memory calculation in python code is corrupted by changeset
6984, this patch fixes it.
Also print vmx builder parameters before calling vmx builer, just like
what's done before calling linux builder.
With this patch, qemu dm using SDL can work, however qemu dm using VNC
still has bug, we will fix it soon.
Signed-off-by: Xin Li <xin.b.li@intel.com>
emellor@ewan [Thu, 22 Sep 2005 10:09:11 +0000 (11:09 +0100)]
this patch fixes the bug that when "cpu" is not set in config file,
control panel complains "Error creating domain - int argument required".
Signed-off-by: Xin Li <xin.b.li@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 22 Sep 2005 10:04:30 +0000 (11:04 +0100)]
This fixes the "make check" feature of xenstore to properly compile with
x86-64. When compiling you would get the following error since on x86-64
it was passing a long , when you are expecting an int.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
jbulpin@paploo.uk.xensource.com [Wed, 21 Sep 2005 22:41:34 +0000 (23:41 +0100)]
Trivial spelling mistake fix.
... but mainly to check that pushes to the repository are working
Signed-off-by: James Bulpin <james@xensource.com>
djm@kirby.fc.hp.com [Wed, 21 Sep 2005 21:13:16 +0000 (15:13 -0600)]
Minor change also needed in vcpu.c for guests to own ar.kr's.
djm@kirby.fc.hp.com [Wed, 21 Sep 2005 20:13:07 +0000 (14:13 -0600)]
Another fix for handling ar.kr's
djm@kirby.fc.hp.com [Wed, 21 Sep 2005 19:41:25 +0000 (13:41 -0600)]
Remove paravirtualization of ar.kr registers (may need hyperprivop for
mov_to_kr later)
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 21 Sep 2005 16:58:55 +0000 (16:58 +0000)]
This patch fixes a bug where raise_softirq(SCHEDULE_SOFTIRQ) is called
upon a hlt instruction from a VMX guest, causing repeated VMExits when
the guest is idle. At the same time, it disables the monitor/mwait
feature as it's not feasible to implement for vcpu.
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 21 Sep 2005 16:36:46 +0000 (16:36 +0000)]
Fix mapping of shared ring pages into backend drivers.
This should fix observed problems when creating a domain,
causing Xen to print "Could not find PTE entry for
address ...".
Signed-off-by: Keir Fraser <keir@xensource.com>
djm@kirby.fc.hp.com [Wed, 21 Sep 2005 16:25:47 +0000 (10:25 -0600)]
Xenlinux/ia64 can't use xenlinux/x86 version of drivers/acpi/tables.c
Also more unique naming for directories that are moved aside
djm@kirby.fc.hp.com [Wed, 21 Sep 2005 15:50:38 +0000 (09:50 -0600)]
Build tweaks for xenlinux/ia64
djm@kirby.fc.hp.com [Wed, 21 Sep 2005 15:06:30 +0000 (09:06 -0600)]
Start fleshing out -sparse tree for xenlinux/ia64
emellor@ewan [Wed, 21 Sep 2005 14:25:58 +0000 (15:25 +0100)]
Merge.
emellor@ewan [Wed, 21 Sep 2005 14:23:26 +0000 (15:23 +0100)]
Split the configuration file parsing and xc dominfo parsing aspects of
XendDomainInfo out from the rest of the code, creating an intermediate
dictionary of common format. This means that the rest of XendDomainInfo can
work whether creating a domain for the first time, or whether xend is
restarted but the domains still exist. This means that xend is now robust in
the face of restarts. The phase of validation of configuration details is
now more explicit, and stronger too.
Change the handling of memory sizes in XendDomainInfo's interface to use KiB
in setMemoryTarget and getMemoryTarget. This gives reasonable granularity
whilst ensuring that we can handle values up to 2TiB without overflowing a
signed 32 bit value. It is not clear that the xend code, especially the C /
Python interface, is either 64-bit clean or unsigned 32-bit clean, so this is
the safest choice for now. The behaviour of Python's shift operator will
change in Python 2.4, so it is best to address this problem once we have moved
to that version.
Determine the backend flags on-the-fly, in getBackendFlags, rather than
computing them in advance in configureBackends and storing the value. Change
addControllerClass so that backend flag information is in this table too,
rather than hard-coded elsewhere.
Improve the error reporting for name clashes.
Remove XendDomainInfo's dependence upon DBMap, and use xstransact directly
instead. This changes the interface from XendDomain to XendDomainInfo, as
paths rather than DBMaps are passed in.
Remove the XendDomainInfo.recreate and restore flags. Since the device and
domain handling is now stateless inside xend, much less work is necessary for
recreate and restore procedures, so we can do without these flags.
Remove XendDomainInfo's unused dependency upon SrvDaemon, and its unnecessary
dependence upon PrettyPrint. Remove the unused show method.
Decouple image.py from XendDomainInfo.bootloader by passing a bootloading flag
into initDomain instead. Decouple it from XendDomainInfo.config by passing
the semiparsed device configuration into create(). Move configuration in
VmxImageHandler so that rather than being scattered around the class it is in
or called from the configure method. Device configuration is no longer
available anywhere else.
From Dan Smith <danms@us.ibm.com>:
I could not find in the existing code the point at which
a domain was added to the XendDomain list after restore. Several
attempts to restore would result in positive log messages, but the
restored domain would not show up in "xm list". This patch includes a
call to _add_domain(), which results in restore working for me.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 21 Sep 2005 14:13:26 +0000 (15:13 +0100)]
Disable debugging-level output.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 21 Sep 2005 14:12:32 +0000 (15:12 +0100)]
Match change to the memory/target value, as it is now in KiB, not bytes.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@ewan [Wed, 21 Sep 2005 10:31:55 +0000 (11:31 +0100)]
Remove unused DEBUG variable, and -d flag.
Signed-off-by: Ewan Mellor <ewan@xensource.com>